﻿using System.Threading.Tasks;

namespace TabbedTemplate.Services
{
    /// <summary>
    /// 警告服务。
    /// </summary>
    public interface IAlertService
    {
        /// <summary>
        /// 显示警告。
        /// </summary>
        /// <param name="title">标题。</param>
        /// <param name="message">信息。</param>
        /// <param name="button">按钮文字。</param>
        void ShowAlert(string title, string message, string button);

        /// <summary>
        /// 显示警告。
        /// </summary>
        /// <param name="title">标题。</param>
        /// <param name="message">信息。</param>
        /// <param name="button1">按钮一文字。</param>
        /// <param name="button2">按钮二文字。</param>
        Task<bool> ShowAlert(string title, string message, string button1, string button2);

        Task<string> ShowAlert(string title, string cancel, string choice1, string choice2, string choice3, string choice4);
    }
}
